import request from "@/utils/request";

// 合同总金额
export function getFinanceReportBIContractMoney() {
  return request({
    url: "/cld/financeReportBI/getFinanceReportBIContractMoney",
    method: "get",
  });
}
// 区域合同金额
export function getFinanceReportBIContractMoneyByProject(query) {
  return request({
    url: "/cld/financeReportBI/getFinanceReportBIContractMoneyByProject",
    method: "get",
    params: query,
  });
}

// 当年月份数据明细
export function getFinanceReportBIDataByRegion(query) {
  return request({
    url: "/cld/financeReportBI/getFinanceReportBIDataByRegion",
    method: "get",
    params: query,
  });
}

// 合同金额区域占比
export function getFinanceReportBIContractMoneyByRegionRate() {
  return request({
    url: "/cld/financeReportBI/getFinanceReportBIContractMoneyByRegionRate",
    method: "get",
  });
}

// 工资板块
export function getFinanceReportBISalarySection() {
  return request({
    url: "/cld/financeReportBI/getFinanceReportBISalarySection",
    method: "get",
  });
}

// 物资板块
export function getFinanceReportBIMaterialSection() {
  return request({
    url: "/cld/financeReportBI/getFinanceReportBIMaterialSection",
    method: "get",
  });
}

// 税费板块
export function getFinanceReportBITaxSection() {
  return request({
    url: "/cld/financeReportBI/getFinanceReportBITaxSection",
    method: "get",
  });
}

// 隐性支出版块
export function getFinanceReportBIExpenditureSection() {
  return request({
    url: "/cld/financeReportBI/getFinanceReportBIExpenditureSection",
    method: "get",
  });
}

// 日利润曲线图
export function getFinanceReportBIDataByProfit() {
  return request({
    url: "/cld/financeReportBI/getFinanceReportBIDataByProfit",
    method: "get",
  });
}
// 利润叠加
// export function getFinanceReportBIProfitSection() {
//   return request({
//     url: "/cld/financeReportBI/getFinanceReportBIProfitSection",
//     method: "get",
//   });
// }

// 现金与储蓄状态
export function getFinanceReportBIAccountInfoList() {
  return request({
    url: "/cld/financeReportBI/getFinanceReportBIAccountInfoList",
    method: "get",
  });
}

// 本期应收+历史应收
export function getFinanceReportBIReceivableAndReceipts() {
  return request({
    url: "/cld/financeReportBI/getFinanceReportBIReceivableAndReceipts",
    method: "get",
  });
}

// 项目合同金额 
export function getFinanceReportBIProjectContractMoneyList() {
  return request({
    url: "/cld/financeReportBI/getFinanceReportBIProjectContractMoneyList",
    method: "get",
  });
}

// 年度合同金额(单柱图)月度走势
export function getFinanceReportBIMonthContractMoneyByProject(query) {
  return request({
    url: "/cld/financeReportBI/getFinanceReportBIMonthContractMoneyByProject",
    method: "get",
    params: query,
  });
}

export function getFinanceReportBIProfitSection(query) {
  return request({
    url: "/cld/financeReportBI/getFinanceReportBIProfitSection",
    method: "get",
    params: query,
  });
}

export function getFinanceReportBIDownByMonthSalary() {
  return request({
    url: "/cld/financeReportBI/getFinanceReportBIDownByMonthSalary",
    method: "get",
  });
}

export function getFinanceReportBIDownByMonthSalaryList() {
  return request({
    url: "/cld/financeReportBI/getFinanceReportBIDownByMonthSalaryList",
    method: "get",
  });
}